* {
  padding: 0;
  margin: 0;
}

/* head */

.head {
  height: 40px;
  background: orange;
}

.head-c {
  width: 1226px;
  height: 40px;
  line-height: 40px;
  background: #333;
  margin: 0 auto;
}

.header-nav {
  height: 40px;
  float: left;
}

a {
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
  color: #b0b0b0;
}

.sep {
  margin: 0.3em;
  color: #424242;
}

.cart {
  float: right;
  width: 120px;
  height: 40px;
  margin-left: 15px;
  font-size: 12px;
  text-align: center;
  position: relative;
}

.cart .empty {
  width: 300px;
  height: 100px;
  font-size: 12px;
  line-height: 100px;
  text-align: center;
  position: absolute;
  top: 40px;
  right: 0px;
  background-color: rgb(245, 238, 238);
  color: #b0b0b0;
  display: none;
}

.cart:hover .empty {
  display: block;
}

.info {
  float: right;
  height: 40px;
  line-height: 40px;
  font-size: 12px;
  color: #b0b0b0;
}

.head-c a:hover {
  color: #fff;
}

.cart:hover {
  background-color: #fff;
}

.cart:hover a {
  color: #ff6700;
}

/* top */
.top-c {
  width: 1226px;
  height: 100px;
  margin: 0 auto;
}

/* 小米logo */
.logo {
  float: left;
  width: 62px;
  margin-top: 22px;
}

.logo-icon {
  display: block;
  width: 56px;
  height: 56px;
  background-image: url(https://s02.mifile.cn/assets/static/image/logo-mi2.png);
  background-size: 56px;
  background-repeat: no-repeat;
}

/* top-nav */
.top-nav {
  float: left;
  width: 850px;
  height: 100px;
  line-height: 100px;
}

/* top product公用 */
ul {
  overflow: hidden;
}

li {
  list-style: none;
  display: block;
  float: right;
  font-size: 16px;
}

.top-c li a {
  color: #333;
  font-size: 16px;
  padding: 0 10px;
}

.top-item:hover {
  color: #ff6700;
}

/* 搜索栏 */
.search {
  float: right;
  width: 297px;
  margin-top: 25px;
  background-color: aqua;
}

form {
  width: 297px;
  height: 50px;
}

.input1 {
  width: 223px;
  height: 48px;
  line-height: 48px;
  padding: 0 10px;
  border: 1px solid #e0e0e0;
}

.input2 {
  float: right;
  width: 52px;
  height: 50px;
  border: 1px solid #e0e0e0;
  border-left: 0;
}
.input2:hover {
  background-color: #ff6700;
}

/* banner */
.banner-c {
  width: 1226px;
  height: 460px;
  background: url(https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/1c3e97686468231f3f78048d7f2b7fdc.jpg?thumb=1&w=1533&h=575&f=webp&q=90)
    no-repeat center;
  background-size: cover;
  margin: 0 auto;
  position: relative;
}

/* 侧边框 */
.ban-nav {
  width: 234px;
  height: 420px;
  padding: 20px 0;
  margin-left: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.bann-nav ul {
  overflow: hidden;
}

.ban-nav li {
  display: block;
  width: 234px;
  height: 42px;
  float: left;
  position: relative;
}

.ban-nav li p {
  padding-left: 30px;
  font-size: 14px;
  line-height: 42px;
  color: #fff;
}

.ban-nav li a {
  width: 16px;
  height: 16px;
  position: absolute;
  top: 12px;
  right: 20px;
  background: url(/img/arrow.png) no-repeat center;
}

.ban-nav li:hover {
  background-color: #ff6700;
}

.banner .icon {
  width: 41px;
  height: 69px;
  background-image: url(https://i1.mifile.cn/f/i/2014/cn/icon/icon-slides.png);
}

.banner-c .l {
  background-position: -84px 50%;
  position: absolute;
  top: 200px;
  left: 234px;
}
.banner-c .l:hover {
  background-position: 0 50%;
}

.banner-c .r {
  background-position: -122px 50%;
  position: absolute;
  top: 200px;
  right: 0;
}
.banner-c .r:hover {
  background-position: -42px 50%;
}

.pointer {
  width: fit-content;
  height: 20px;
  position: absolute;
  bottom: 30px;
  right: 30px;
}

.pointer a {
  width: 6px;
  height: 6px;
  border: 2px solid;
  border-radius: 50%;
  margin: 0 4px;
  border-color: hsla(0, 0%, 100%, 0.4);
  background-color: rgba(0, 0, 0, 0.4);

  /* 背景色只占据content区 */
  /* background-clip: padding-box; */
}

.pointer a:hover {
  background-color: #fff;
  border-color: rgba(0, 0, 0, 0.4);
}

/* 广告 */
.product {
  width: 1226px;
  height: 170px;
  margin: 0 auto;
  margin-top: 10px;
  position: relative;
}

.product-c {
  width: 234px;
  height: 170px;
  background-color: #5f5750;
}

.product-c ul {
  overflow: hidden;
}


.product-c li {
  width: 70px;
  height: 82px;
  padding: 0 3px;
}

.product-c li img {
  width: 24px;
  height: 24px;
  margin: 0 23px 4px;
}

.product-c li a {
  display: block;
  width: 70px;
  height: 45px;
  padding-top: 18px;
  text-align: center;
}

.product-c li a:hover{
  color: #fff;
}

.product .adv{
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
}

.product .ad {
  display: block;
  width: 316px;
  height: 170px;
  float: left;
  background-image: url(https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/5d4298059889417157e8492750328492.jpg?w=632&h=340);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.product .center{
  margin: 0 15px;
}



